﻿using System;
using System.ComponentModel;
using System.Xml.Serialization;
using DevExpress.Xpo;
using DevExpress.Xpo.Metadata;
using DevExpress.Xpo.Helpers;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    [Persistent("TopBuyerCouponDetail")]
    public class TopBuyerCouponDetail : BaseObject
    {
        //begin
        public TopBuyerCouponDetail()
        {}
        public TopBuyerCouponDetail(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private long _CouponNumber;
        public long CouponNumber
        {
            get
            {
                return _CouponNumber;
            }
            set
            {
                SetPropertyValue("CouponNumber", ref _CouponNumber, value);
            }
        }
        private long _Denomination;
        public long Denomination
        {
            get
            {
                return _Denomination;
            }
            set
            {
                SetPropertyValue("Denomination", ref _Denomination, value);
            }
        }
        private string _SellerNick;
        public string SellerNick
        {
            get
            {
                return _SellerNick;
            }
            set
            {
                SetPropertyValue("SellerNick", ref _SellerNick, value);
            }
        }
        private DateTime _EndTime;
        public DateTime EndTime
        {
            get
            {
                return _EndTime;
            }
            set
            {
                SetPropertyValue("EndTime", ref _EndTime, value);
            }
        }
        private long _Condition;
        public long Condition
        {
            get
            {
                return _Condition;
            }
            set
            {
                SetPropertyValue("Condition", ref _Condition, value);
            }
        }
        private string _Status;
        public string Status
        {
            get
            {
                return _Status;
            }
            set
            {
                SetPropertyValue("Status", ref _Status, value);
            }
        }
        private string _Receiver;
        public string Receiver
        {
            get
            {
                return _Receiver;
            }
            set
            {
                SetPropertyValue("Receiver", ref _Receiver, value);
            }
        }
        private string _Source;
        public string Source
        {
            get
            {
                return _Source;
            }
            set
            {
                SetPropertyValue("Source", ref _Source, value);
            }
        }
        //end
    }
}
